package com.hmall.common.constants;

public class MqConstants {
    /**
     * 交换机
     */
    public final static String ITEM_EXCHANGE = "item.direct";
    /**
     * 商品上架队列
     */
    public final static String ITEM_INSERT_QUEUE = "item.insert.queue";
    /**
     * 商品删除队列
     */
    public final static String ITEM_DELETE_QUEUE = "item.delete.queue";
    /**
     * 上架RoutingKey
     */
    public final static String ITEM_INSERT_KEY = "item.insert";
    /**
     * 下架RoutingKey
     */
    public final static String ITEM_DELETE_KEY = "item.delete";



    public static final String DELAY_EXCHANGE = "delay.direct";
    public static final String DELAY_QUEUE = "delay.queue";
    public static final String DELAY_KEY = "delay";

}
